A pantomime for Database Professionals
Scene 1
In the church vestry. Polly Morphism looks despairingly at Rev. D. Composition. The elderly priest is bent over his desk in a canonical form (he is a cardinal type). The candle flickers; Polly is tearful.
- D Composition
- (shaking his head sadly) “Hah, that base Relvar! The wicked Relvar Predicate is entirely without any integrity constraints. He is an insensitive curser and a primitive operator. Do anything to avoid him,”
- Polly:
- “It is no good; he has my pet tuples in his nidalic view. I must retrieve them with my tuple extractor or they will be subject to lossy decomposition. I will have to bargain with him.
- D Composition:
- “I have to admit that he is a star schemer. You’ll have to negotiate, maybe offer buffer cash. Blackmail is rank Relvar’s characteristic function”.
Scene 2
A smoky dive, called the ‘HotSpot ‘. Rough types abound. Relvar and Polly sit hunched over a table. Her faithful SPID stands behind her, arms folded impassively, scimitar tucked in his belt. Relvar’s SPID stands, sneering wickedly.
- Polly
- “I’ve come to negotiate, to make a simple proposition”
- Relvar
- “Your n-Place or mine? Your persistence is monadic. I’m glad you have seen reason, because your tuples are in my power. Soon, the Tuple Unwrapping will begin. Their internal predicates will be mine (Nasty laugh). I will be idempotent!
- Polly
- (flushing) “You swine! Haven’t you heard of De Morgan’s Laws?”
- Relvar
- (with ACID sarcasm) “Thanks for the Complement. You scare me! Hah! That flat relation? Pshaw!” (audience boos noisily)
- Polly
- (thinks: Maybe this is a bad transaction scenario ) “Surely we can be sensible? I’m here to see if we can do a deal to retrieve my tuples. I have an atomic proposition that could lead to a Transaction. My SPID can start the process with a triggered procedure
(Suddenly, an Argument starts at a nearby base table. A fight breaks out. A lunging body falls perilously near to Polly and knocks her SPID flying. Inverted Tables everywhere. The scimitar skids across the floor. Quick as a flash, Relvar’s SPID leaps onto Polly’s SPID and pins him to the ground)
- Relvar
- (gloatingly) “So fate has chosen your SPID to be a deadlock victim. Soon he will be a bound variable”
Captain Codd bursts in on the scene. A clash of Cymbals
- Codd:
- Not so fast, Relvar. You have committed a fatal error and made a hash of it. Polly is under my protection!!
(An immediate conflict ensues. Wham! Bam! Captain Codd delivers a lightning Sheffer stroke to Relvar’s jaw, Soon, Captain Codd has Relvar in a granular lock followed by a restriction, an immediate constraint, finishing with a deadly embrace)
- Relvar
- Aiee! You have me in a Multi-Relvar constraint. I repent!! Let me go! Release my constraint! From now on I shall lead a Normal life.
- Captain Codd:
- If so, it will be your first Normal Form, Relvar. I suspect you will need a unique constraint. Any base manipulation, and you will be a bound variable in a loop structure.
- Polly
- Thanks, Captain Codd! I rely on you but it is a multi-valued dependency, though I am irreducably dependent
Scene 3
An Arcadian meadow. The sun is shining. Polly Morphism and Captain Codd admire Polly’s flock of tuples
- Polly
- (surrounded by her bleating tuples, nuzzling up to her adoringly) Oh Captain Codd, now my SPID is released and my tuples safe, I can enjoy a tuple union. How can I repay you?
- Captain Codd
- (looking serious) It isn’t over until we can engineer some sort of total Relvar constraint, with an identity restriction. He could yet strike again.
Ominous music…
Will Relvar Predicate strike again?
Look out for the thrilling Sequel to… Captain Codd and the Simple Proposition
Heroic music…
Ends.
Load comments